#include <iostream>
using namespace std;

class Student {
public:
#if 0
	Student (const string& name, int age, int no){
		m_name = name;
		m_age = age;
		m_no = no;
	}
#endif
	Student (const string& name, int age, int no):m_name(name),m_age(age),m_no(no) {}
	void who(void) {
		cout << "我是" << m_name << ",今年" << m_age << "岁,学号是" << m_no << endl;
	}
private:
	string m_name;
	int m_age;
	int m_no;
};

int main (void)
{
	Student s("张飞", 25, 10011);
	s.who();
	return 0;
}



